#!/bin/bash
cd /app/cloud-microservices
git pull origin master

cd /app/cloud-microservices/cloud-microservices
mvn clean install -U

cp -f /app/cloud-microservices/cloud-tenant-startup/target/cloud-tenant-startup.jar /app/cloud-microservices/cloud-deploy

cd /app/cloud-microservices/cloud-deploy

docker-compose build tenant
